#ifndef _CSPIDER_H_
#define _CSPIDER_H_

#include "CEnemy.h"
#include "CPlayer.h"

class CSpider : public CEnemy
{
private:
	int speed;
	int damage;
	bool stopped;
	bool right,left,up,down;

	float totaltime;
	float tempX;
	float tempY;

	int SpiderDownAnimation;
	int SpiderLeftAnimation;
	int SpiderUpAnimation;
	int SpiderRightAnimation;

public:
	CSpider(void);
	~CSpider(void);

	void Fire(void);
	void Update(float fElapsedTime);
	void Render(void);
	bool CheckCollision(IBaseInterface* pBase);
	int GetDamage() {return damage;}
	void setstop(bool stop){stopped = stop;}
	//CPlayer* GetPlayer(void) {return CPlayer::GetInstance();}
};

#endif